//
//  OperatorNode.h
//  DataCollector
//
//  Created by jiro on 12/06/29.
//  Copyright 2012 jiro music. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#import "Node.h"
#import "OperatorNode.h"

class BinaryOperatorNode : public OperatorNode
{
public:

	enum Type
	{
		Type_Equal,
		Type_Greater,
		Type_Less,
		Type_GreaterOrEqual,
		Type_LessOrEqual,

		Type_Comma,

		Type_And,
		Type_Or,
		
		Type_Plus,
		Type_Minus,
		Type_Multuple,
		Type_Divide,

		Type_Like
	};

public:

	BinaryOperatorNode( Type type );

	virtual NSString* query() const;

	virtual bool isBinary() const;

protected:

};
